Allow user to specify alternative server from config and enforce simvue.Run keyword arguments#913
Allow user to specify alternative server from config and enforce simvue.Run keyword arguments#913
simvue.Run keyword arguments#913Conversation
Also added specification of profile using SIMVUE_SERVER_PROFILE
|
Technically, forcing keyword arguments in |
|
Two comments. Otherwise, this will is a very convenient feature - it'll make things much easier for me, for example! My only other thought is that maybe this should not be mentioned in the official docs. A normal user is very unlikely to ever interact with multiple Simvue servers, so this option is likely to confuse them. I think this is essentially a 'dev feature'. |
Add Config Option for Alternative Profiles & Enforced Keyword Arguments for
simvue.Run.Issue: N/A
Python Version(s) Tested: 3.13
Operating System(s): Ubuntu 25.10
Documentation PR: Issue on Docs repo.
📝 Summary
simvue.tomlconfiguration file and specify which to use.simvue.Run.__init__due to large number of arguments, this is to ensure the user is clear and absolute in their intention, i.e. due to multiple string arguments ("profile", "mode" etc.) this ensures mode isn't read as a profile.🔄 Changes
simvue.toml:SimvueConfigurationclass:simvue.Runclass:✔️ Checklist